<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.net.Uri</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.net.Uri";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.net.Uri.html" class="symbol">tango.net.Uri</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Initial release: April 2004
<p class="sec_header">Author:</p>Kris
<dl>
<dt class="decl">char* <a class="symbol _function" name="memchr" href="./htmlsrc/tango.net.Uri.html#L27" kind="function" beg="27" end="27">memchr</a><span class="params">(char *, char, uint)</span>; <span class="attrs">[<span class="linkg">extern(C)</span>]</span> <a title="Permalink to this symbol" href="#memchr" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L27">#</a></dt>
<dd class="ddef">
<div class="summary">external links</div></dd>
<dt class="decl">class <a class="symbol _class" name="Uri" href="./htmlsrc/tango.net.Uri.html#L50" kind="class" beg="50" end="844">Uri</a> : UriView; <a title="Permalink to this symbol" href="#Uri" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L50">#</a></dt>
<dd class="ddef">
<div class="summary">Implements an RFC 2396 compliant URI specification. See 
        <A HREF="http://ftp.ics.uci.edu/pub/ietf/uri/rfc2396.txt">this page</A>
        for more information.</div>
The implementation fails the spec on two counts: it doesn't insist
        on a scheme being present in the Uri, and it doesn't implement the
        "Relative References" support noted in section 5.2. The latter can
        be found in tango.util.PathUtil instead.
        
        Note that IRI support can be implied by assuming each of userinfo,
        path, query, and fragment are UTF-8 encoded 
        (see <A HREF="http://www.w3.org/2001/Talks/0912-IUC-IRI/paper.html">
        this page</A> for further details).
<p class="bl"/>
        Use the UriView subset where you need a readonly perspective.
<dl>
<dt class="decl">static <a class="symbol _sctor" name="Uri.this" href="./htmlsrc/tango.net.Uri.html#L131" kind="sctor" beg="131" end="206">this</a>(); <a title="Permalink to this symbol" href="#Uri.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L131">#</a></dt>
<dd class="ddef">
<div class="summary">Initialize the Uri character maps and so on</div></dd>
<dt class="decl"><a class="symbol _ctor" name="Uri.this:2" href="./htmlsrc/tango.net.Uri.html#L214" kind="ctor" beg="214" end="218">this</a><span class="params">()</span>; <a title="Permalink to this symbol" href="#Uri.this:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L214">#</a></dt>
<dd class="ddef">
<div class="summary">Create an empty Uri</div></dd>
<dt class="decl"><a class="symbol _ctor" name="Uri.this:3" href="./htmlsrc/tango.net.Uri.html#L226" kind="ctor" beg="226" end="230">this</a><span class="params">(char[] <em>uri</em>)</span>; <a title="Permalink to this symbol" href="#Uri.this:3" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L226">#</a></dt>
<dd class="ddef">
<div class="summary">Construct a Uri from the provided character string</div></dd>
<dt class="decl"><a class="symbol _ctor" name="Uri.this:4" href="./htmlsrc/tango.net.Uri.html#L239" kind="ctor" beg="239" end="247">this</a><span class="params">(char[] <em>scheme</em>, char[] <em>host</em>, char[] <em>path</em>, char[] <em>query</em> = null)</span>; <a title="Permalink to this symbol" href="#Uri.this:4" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L239">#</a></dt>
<dd class="ddef">
<div class="summary">Construct a Uri from the given components. The query is
                optional.</div></dd>
<dt class="decl"><a class="symbol _ctor" name="Uri.this:5" href="./htmlsrc/tango.net.Uri.html#L256" kind="ctor" beg="256" end="265">this</a><span class="params">(UriView <em>other</em>)</span>; <a title="Permalink to this symbol" href="#Uri.this:5" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L256">#</a></dt>
<dd class="ddef">
<div class="summary">Clone another Uri. This can be used to make a mutable Uri
                from an immutable UriView.</div></dd>
<dt class="decl">int <a class="symbol _function" name="Uri.getDefaultPort" href="./htmlsrc/tango.net.Uri.html#L275" kind="function" beg="275" end="281">getDefaultPort</a><span class="params">(char[] <em>scheme</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.getDefaultPort" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L275">#</a></dt>
<dd class="ddef">
<div class="summary">Return the default port for the given scheme. InvalidPort
                is returned if the scheme is unknown, or does not accept
                a port.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.getScheme" href="./htmlsrc/tango.net.Uri.html#L290" kind="function" beg="290" end="293">getScheme</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.getScheme" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L290">#</a></dt>
<dd class="ddef">
<div class="summary">Return the parsed scheme, or null if the scheme was not
                specified</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.getHost" href="./htmlsrc/tango.net.Uri.html#L302" kind="function" beg="302" end="305">getHost</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.getHost" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L302">#</a></dt>
<dd class="ddef">
<div class="summary">Return the parsed host, or null if the host was not
                specified</div></dd>
<dt class="decl">int <a class="symbol _function" name="Uri.getPort" href="./htmlsrc/tango.net.Uri.html#L314" kind="function" beg="314" end="317">getPort</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.getPort" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L314">#</a></dt>
<dd class="ddef">
<div class="summary">Return the parsed port number, or InvalidPort if the port
                was not provided.</div></dd>
<dt class="decl">int <a class="symbol _function" name="Uri.getValidPort" href="./htmlsrc/tango.net.Uri.html#L326" kind="function" beg="326" end="331">getValidPort</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.getValidPort" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L326">#</a></dt>
<dd class="ddef">
<div class="summary">Return a valid port number by performing a lookup on the 
                known schemes if the port was not explicitly specified.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.getUserInfo" href="./htmlsrc/tango.net.Uri.html#L340" kind="function" beg="340" end="343">getUserInfo</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.getUserInfo" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L340">#</a></dt>
<dd class="ddef">
<div class="summary">Return the parsed userinfo, or null if userinfo was not 
                provided.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.getPath" href="./htmlsrc/tango.net.Uri.html#L352" kind="function" beg="352" end="355">getPath</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.getPath" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L352">#</a></dt>
<dd class="ddef">
<div class="summary">Return the parsed path, or null if the path was not 
                provided.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.getQuery" href="./htmlsrc/tango.net.Uri.html#L364" kind="function" beg="364" end="367">getQuery</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.getQuery" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L364">#</a></dt>
<dd class="ddef">
<div class="summary">Return the parsed query, or null if a query was not 
                provided.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.getFragment" href="./htmlsrc/tango.net.Uri.html#L376" kind="function" beg="376" end="379">getFragment</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.getFragment" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L376">#</a></dt>
<dd class="ddef">
<div class="summary">Return the parsed fragment, or null if a fragment was not 
                provided.</div></dd>
<dt class="decl">bool <a class="symbol _function" name="Uri.isGeneric" href="./htmlsrc/tango.net.Uri.html#L387" kind="function" beg="387" end="390">isGeneric</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.isGeneric" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L387">#</a></dt>
<dd class="ddef">
<div class="summary">Return whether or not the Uri scheme is considered generic.</div></dd>
<dt class="decl">Consumer <a class="symbol _function" name="Uri.produce" href="./htmlsrc/tango.net.Uri.html#L399" kind="function" beg="399" end="438">produce</a><span class="params">(Consumer <em>consume</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.produce" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L399">#</a></dt>
<dd class="ddef">
<div class="summary">Emit the content of this Uri via the provided Consumer. The
                output is constructed per RFC 2396.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.toString" href="./htmlsrc/tango.net.Uri.html#L447" kind="function" beg="447" end="454">toString</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.toString" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L447">#</a></dt>
<dd class="ddef">
<div class="summary">Emit the content of this Uri via the provided Consumer. The
                output is constructed per RFC 2396.</div></dd>
<dt class="decl">Consumer <a class="symbol _function" name="Uri.encode" href="./htmlsrc/tango.net.Uri.html#L463" kind="function" beg="463" end="487">encode</a><span class="params">(Consumer <em>consume</em>, char[] <em>s</em>, int <em>flags</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#Uri.encode" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L463">#</a></dt>
<dd class="ddef">
<div class="summary">Encode uri characters into a Consumer, such that
                reserved chars are converted into their %hex version.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.encode:2" href="./htmlsrc/tango.net.Uri.html#L498" kind="function" beg="498" end="503">encode</a><span class="params">(char[] <em>text</em>, int <em>flags</em>)</span>; <span class="attrs">[<span class="stc">static</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.encode:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L498">#</a></dt>
<dd class="ddef">
<div class="summary">Encode uri characters into a string, such that reserved 
                chars are converted into their %hex version.</div>
Returns a dup'd string</dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.decoder" href="./htmlsrc/tango.net.Uri.html#L513" kind="function" beg="513" end="566">decoder</a><span class="params">(char[] <em>s</em>, char <em>ignore</em> = 0)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#Uri.decoder" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L513">#</a></dt>
<dd class="ddef">
<div class="summary">Decode a character string with potential %hex values in it.
                The decoded strings are placed into a thread-safe expanding
                buffer, and a slice of it is returned to the caller.</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.decode" href="./htmlsrc/tango.net.Uri.html#L574" kind="function" beg="574" end="577">decode</a><span class="params">(char[] <em>s</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.decode" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L574">#</a></dt>
<dd class="ddef">
<div class="summary">Decode a duplicated string with potential %hex values in it</div></dd>
<dt class="decl">Uri <a class="symbol _function" name="Uri.parse" href="./htmlsrc/tango.net.Uri.html#L599" kind="function" beg="599" end="650">parse</a><span class="params">(char[] <em>uri</em>, bool <em>relative</em> = false)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.parse" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L599">#</a></dt>
<dd class="ddef">
<div class="summary">Parsing is performed according to RFC 2396
                
                <pre class="d_code">
<p class="error L">tango.net.Uri(1,11)L: expected 'line' after '#'.</p>
  ^(([^:/?<span class="hl">#</span>]+):)?(<span class="lc">//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?</span>
   <span class="n">12</span>            <span class="n">3</span>  <span class="n">4</span>          <span class="n">5</span>       <span class="n">6</span>  <span class="n">7</span>        <span class="n">8</span> <span class="n">9</span>

<span class="n">2</span> <span class="i">isolates</span> <span class="i">scheme</span>
<span class="n">4</span> <span class="i">isolates</span> <span class="i">authority</span>
<span class="n">5</span> <span class="i">isolates</span> <span class="i">path</span>
<span class="n">7</span> <span class="i">isolates</span> <span class="i">query</span>
<span class="n">9</span> <span class="i">isolates</span> <span class="i">fragment</span>
</pre></div>
This was originally a state-machine; it turned out to be a 
                lot faster (~40%) when unwound like this instead.</dd>
<dt class="decl">void <a class="symbol _function" name="Uri.reset" href="./htmlsrc/tango.net.Uri.html#L658" kind="function" beg="658" end="663">reset</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.reset" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L658">#</a></dt>
<dd class="ddef">
<div class="summary">Clear everything to null.</div></dd>
<dt class="decl">Uri <a class="symbol _function" name="Uri.relParse" href="./htmlsrc/tango.net.Uri.html#L671" kind="function" beg="671" end="674">relParse</a><span class="params">(char[] <em>uri</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.relParse" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L671">#</a></dt>
<dd class="ddef">
<div class="summary">Parse the given uri, with support for relative URLs</div></dd>
<dt class="decl">Uri <a class="symbol _function" name="Uri.setScheme" href="./htmlsrc/tango.net.Uri.html#L682" kind="function" beg="682" end="686">setScheme</a><span class="params">(char[] <em>scheme</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.setScheme" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L682">#</a></dt>
<dd class="ddef">
<div class="summary">Set the Uri scheme</div></dd>
<dt class="decl">Uri <a class="symbol _function" name="Uri.setHost" href="./htmlsrc/tango.net.Uri.html#L694" kind="function" beg="694" end="698">setHost</a><span class="params">(char[] <em>host</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.setHost" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L694">#</a></dt>
<dd class="ddef">
<div class="summary">Set the Uri host</div></dd>
<dt class="decl">Uri <a class="symbol _function" name="Uri.setPort" href="./htmlsrc/tango.net.Uri.html#L706" kind="function" beg="706" end="710">setPort</a><span class="params">(int <em>port</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.setPort" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L706">#</a></dt>
<dd class="ddef">
<div class="summary">Set the Uri port</div></dd>
<dt class="decl">Uri <a class="symbol _function" name="Uri.setUserInfo" href="./htmlsrc/tango.net.Uri.html#L718" kind="function" beg="718" end="722">setUserInfo</a><span class="params">(char[] <em>userinfo</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.setUserInfo" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L718">#</a></dt>
<dd class="ddef">
<div class="summary">Set the Uri userinfo</div></dd>
<dt class="decl">Uri <a class="symbol _function" name="Uri.setQuery" href="./htmlsrc/tango.net.Uri.html#L730" kind="function" beg="730" end="734">setQuery</a><span class="params">(char[] <em>query</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.setQuery" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L730">#</a></dt>
<dd class="ddef">
<div class="summary">Set the Uri query</div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.extendQuery" href="./htmlsrc/tango.net.Uri.html#L742" kind="function" beg="742" end="750">extendQuery</a><span class="params">(char[] <em>tail</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.extendQuery" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L742">#</a></dt>
<dd class="ddef">
<div class="summary">Extend the Uri query</div></dd>
<dt class="decl">Uri <a class="symbol _function" name="Uri.setPath" href="./htmlsrc/tango.net.Uri.html#L758" kind="function" beg="758" end="762">setPath</a><span class="params">(char[] <em>path</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.setPath" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L758">#</a></dt>
<dd class="ddef">
<div class="summary">Set the Uri path</div></dd>
<dt class="decl">Uri <a class="symbol _function" name="Uri.setFragment" href="./htmlsrc/tango.net.Uri.html#L770" kind="function" beg="770" end="774">setFragment</a><span class="params">(char[] <em>fragment</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.setFragment" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L770">#</a></dt>
<dd class="ddef">
<div class="summary">Set the Uri fragment</div></dd>
<dt class="decl">void <a class="symbol _function" name="Uri.parseAuthority" href="./htmlsrc/tango.net.Uri.html#L792" kind="function" beg="792" end="817">parseAuthority</a><span class="params">(char[] <em>auth</em>)</span>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#Uri.parseAuthority" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L792">#</a></dt>
<dd class="ddef">
<div class="summary">Authority is the section after the scheme, but before the 
                path, query or fragment; it typically represents a host.
               
                <pre class="d_code">
<p class="error L">tango.net.Uri(1,10)L: illegal character found: '@'</p>
<p class="error L">tango.net.Uri(1,14)L: illegal character found: '@'</p>
    ^(([^<span class="ill">@</span>]*)<span class="ill">@</span>?)([^:]*)?(:(.*))?
     <span class="n">12</span>         <span class="n">3</span>       <span class="n">4</span> <span class="n">5</span>

<span class="n">2</span> <span class="i">isolates</span> <span class="i">userinfo</span>
<span class="n">3</span> <span class="i">isolates</span> <span class="i">host</span>
<span class="n">5</span> <span class="i">isolates</span> <span class="i">port</span>
</pre></div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.toLastSlash" href="./htmlsrc/tango.net.Uri.html#L823" kind="function" beg="823" end="829">toLastSlash</a><span class="params">(char[] <em>path</em>)</span>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.toLastSlash" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L823">#</a></dt>
<dd class="ddef">
<div class="summary"></div></dd>
<dt class="decl">char[] <a class="symbol _function" name="Uri.toLower" href="./htmlsrc/tango.net.Uri.html#L837" kind="function" beg="837" end="843">toLower</a><span class="params">(inout char[] <em>src</em>)</span>; <span class="attrs">[<span class="prot">private</span>, <span class="stc">static</span>, <span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#Uri.toLower" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L837">#</a></dt>
<dd class="ddef">
<div class="summary">in-place conversion to lowercase</div></dd></dl></dd>
<dt class="decl">class <a class="symbol _class" name="HeapSlice" href="./htmlsrc/tango.net.Uri.html#L851" kind="class" beg="851" end="906">HeapSlice</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#HeapSlice" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L851">#</a></dt>
<dd class="ddef">
<div class="summary"></div>
<dl>
<dt class="decl"><a class="symbol _ctor" name="HeapSlice.this" href="./htmlsrc/tango.net.Uri.html#L862" kind="ctor" beg="862" end="865">this</a><span class="params">(uint <em>size</em>)</span>; <a title="Permalink to this symbol" href="#HeapSlice.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L862">#</a></dt>
<dd class="ddef">
<div class="summary">Create with the specified starting size</div></dd>
<dt class="decl">void <a class="symbol _function" name="HeapSlice.reset" href="./htmlsrc/tango.net.Uri.html#L873" kind="function" beg="873" end="876">reset</a><span class="params">()</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#HeapSlice.reset" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L873">#</a></dt>
<dd class="ddef">
<div class="summary">Reset content length to zero</div></dd>
<dt class="decl">void* <a class="symbol _function" name="HeapSlice.expand" href="./htmlsrc/tango.net.Uri.html#L885" kind="function" beg="885" end="890">expand</a><span class="params">(uint <em>size</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#HeapSlice.expand" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L885">#</a></dt>
<dd class="ddef">
<div class="summary">Potentially expand the content space, and return a pointer
                to the start of the empty section.</div></dd>
<dt class="decl">void[] <a class="symbol _function" name="HeapSlice.slice" href="./htmlsrc/tango.net.Uri.html#L900" kind="function" beg="900" end="905">slice</a><span class="params">(int <em>size</em>)</span>; <span class="attrs">[<span class="stc">final</span>]</span> <a title="Permalink to this symbol" href="#HeapSlice.slice" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.net.Uri.html#L900">#</a></dt>
<dd class="ddef">
<div class="summary">Return a slice of the content from the current position 
                with the specified size. Adjusts the current position to 
                point at an empty zone.</div></dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2004 Kris Bell. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:03:53 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>